package com.smartfactory.sail.service.impl;

import com.smartfactory.sail.entity.Outwork;
import com.smartfactory.sail.mapper.OutworkMapper;
import com.smartfactory.sail.service.IOutworkService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-28
 */
@Service
public class OutworkServiceImpl extends ServiceImpl<OutworkMapper, Outwork> implements IOutworkService {

    private OutworkMapper outworkMapper;

    public OutworkServiceImpl(OutworkMapper outworkMapper) {
        this.outworkMapper = outworkMapper;
    }

    @Override
    public List<String> getAllCompanys() {
        return outworkMapper.getAllCompanys();
    }
}
